package com.corpcredit.webapp.action;

import java.io.Serializable;
import java.util.List;

import com.corpcredit.webapp.action.BasePage;
import com.corpcredit.model.Pdfl1;
import com.corpcredit.service.GenericManager;

public class Pdfl1List extends BasePage implements Serializable {
    private GenericManager<Pdfl1, Long> pdfl1Manager;

    public void setPdfl1Manager(GenericManager<Pdfl1, Long> pdfl1Manager) {
        this.pdfl1Manager = pdfl1Manager;
    }

    public Pdfl1List() {
        setSortColumn("id"); // sets the default sort column
    }

    public List getPdfl1s() {
        return sort(pdfl1Manager.getAll());
    }
}

